package ac.zlf.maven.template;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>Project: bee-projects</p>
 * <p>Title: EduCourseNoteBean.java</p>
 * <p>Description:   </p>
 * <p>Copyright: Copyright (c) 2016 </p>
 * <p>Company:  </p>
 *
 * @author Administrator
 * @version 1.0
 * @date 2017/2/9 14:21
 */
public class DemoServlet extends HttpServlet{

    Logger logger = LoggerFactory.getLogger(DemoServlet.class);
    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        logger.debug("debug-----------");
        logger.info("info-------------");
        logger.error("error===========");
        logger.warn("warn=============");
        resp.getOutputStream().print("-----");
//        super.service(req, resp);
    }
}
